package com.wxproject.demo.Entity.AO;

        import com.wxproject.demo.Utils.DateUtils;
        import lombok.Data;
        import javax.validation.constraints.NotBlank;
        import javax.validation.constraints.NotEmpty;

/**
 * @author zqf
 * @date 2021/4/7 21:54
 * @description
 */

@Data
public class ChatMessageAO {
    private String id;
    @NotBlank(message = "发送的信息不能为空")
    private String message;
    private String username;
    private String typeId;
    @NotBlank(message = "聊天室id不能为空")
    private String roomId;
    private String date = DateUtils.getDate();
}
